<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<title>-</title>
	<link rel="stylesheet" href='<c:url value="/resources/css/main.css"/>' type="text/css" />
	<link rel="stylesheet" type="text/css" href='<c:url value="/resources/easyui/themes/default/easyui.css"/>'/>
	<link rel="stylesheet" type="text/css" href='<c:url value="/resources/easyui/themes/icon.css"/>'/>
	<script type="text/javascript" src='<c:url value="/resources/easyui/jquery-1.4.4.min.js"/>'></script>
	<script type="text/javascript" src='<c:url value="/resources/easyui/jquery.easyui.min.js"/>'></script>
	<script type="text/javascript">
	$(function(){
	
		$('#edit').click(function() {
			var url = "edit?serviceName=${service.name}";
			window.location.href = url;
		});
	
	});
	</script>
</head>
<body id="jive-body">
<div id="main">
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<tbody>
		<tr valign="top">
			<td width="99%" id="jive-content">
 				<h1>服务信息</h1>
				<div id="jive-main-content">
					<p>下面是服务信息：</p>

<div class="jive-table">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<thead>
    <tr>
        <th colspan="2">服务信息</th>
    </tr>
</thead>
<tbody>
    <tr><td class="c1">名称</td><td class="c2"><c:out value="${service.name}"/></td></tr>
    <tr><td class="c1">状态</td><td class="c2"><img src="<c:url value='/resources/images/${service.status}-16x16.gif'/>" width="16" height="16" border="0"> 运行中  [<a href="#">点击这里停用</a>]</td></tr>
    <tr><td class="c1">类型</td><td class="c2"><c:out value="${service.type}"/></td></tr>
    <tr><td class="c1">描述</td><td class="c2"><c:out value="${service.description}"/></td></tr>
    <tr><td class="c1">创建时间</td><td class="c2">2012-03-02 19:54:09</td></tr>
    <tr><td class="c1">服务规约</td><td class="c2"><a href="${service.wsdl}" target="_blank">${service.wsdl}</a></td></tr>
    <tr><td class="c1">试用</td><td class="c2"><a href="try?serviceName=${service.name}"><img src="<c:url value='/resources/images/setup_btn_gearplay.gif'/>" width="16" height="16" border="0"></a></td></tr>
</tbody>
</table>
</div>
<br/><br/>

<input type="button" id="statistic" value="查看统计数据">
<input type="button" id="edit" value="编辑服务">

				</div>
			</td>
		</tr>
	</tbody>
	</table>
</div>
</body>
</html>
